-
Home
-
Matomo Analytics – Ethical Stats. Powerful Insights.
-
4.3.1
-
Code
-
Classes
- Woocommerce
Total Complexity |
59 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
349 |
Lines of code |
240 |
Logical lines of code |
141 |
Comment lines |
36 |
Methods |
13 |
Properties |
1 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
on_cart_updated() |
A |
43 |
11 |
48 |
get_product_details() |
A |
47 |
11 |
34 |
on_order() |
A |
43 |
8 |
49 |
maybe_track_order_complete() |
S |
64 |
6 |
9 |
get_product_categories() |
S |
57 |
4 |
17 |
register_hooks() |
S |
55 |
3 |
18 |
anonymise_orderid_in_url() |
S |
61 |
3 |
15 |
get_sku() |
S |
71 |
3 |
6 |
get_product_id() |
S |
67 |
3 |
9 |
on_product_view() |
S |
61 |
2 |
14 |
on_coupon_updated_safe() |
S |
66 |
2 |
8 |
on_cart_updated_safe() |
S |
67 |
2 |
8 |
isWC3() |
S |
72 |
1 |
5 |